package com.stms.service;

import com.stms.pojo.Contract;
import org.springframework.data.domain.Page;


public interface ContractService {
    public boolean addContract(Contract contract);

    public boolean editContract(Contract contract);

    public void deleteBatch(String contractIds);

    public Page<Contract> fuzzyQuery(Integer pageNum, Integer pageSize,String direction, Contract contract);

    public Page<Contract> findByPage(Integer pageNum,Integer pageSize);
}
